package com.nengchuan.eic.nceconomy.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author panwen
 * @since 2020-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("nc_sw_file")
@ApiModel(value="SwFile对象", description="")
public class SwFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "目录ID")
    private Long directoryId;

    @ApiModelProperty("ossId")
    private Long ossId;


    @ApiModelProperty("ossUrl")
    private String ossUrl;
    @ApiModelProperty("excelUrl")
    private String excelUrl;
    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件类型 1-GIM模型  2-DGN模型")
    private Integer fileType;

    @ApiModelProperty(value = "项目类型 1-线路工程 2-安装工程")
    private Integer projectType;

    @ApiModelProperty(value = "计算状态 1-未计算 2-计算中 3-计算成功 4-计算失败")
    private Integer computeStatus;

    @ApiModelProperty(value = "查询次数")
    private Integer queryNum;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;

    @ApiModelProperty(value = "状态 1-发布成功")
    private Integer status;

    @ApiModelProperty(value = "删除标记 0-有效 1-删除")
    @TableLogic
    private Integer delFlag;

    @ApiModelProperty(value = "创建者ID")
    @TableField(fill = FieldFill.INSERT)
    private Long createId;

    @ApiModelProperty(value = "创建者name")
    @TableField(fill = FieldFill.INSERT)
    private String createName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    @ApiModelProperty(value = "修改人id")
    @TableField(fill = FieldFill.UPDATE)
    private Long modifyId;

    @ApiModelProperty(value = "修改人姓名")
    @TableField(fill = FieldFill.UPDATE)
    private String modifyName;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Long modifyTime;


}
